package com.lvmama.pangolin.tn.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.tn.TNTicketProduct;
import com.lvmama.pangolin.entity.xc.XCTicketProduct;


public interface TNTicketProductService
{
	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(TNTicketProduct record);

	int insertSelective(TNTicketProduct record);

	TNTicketProduct selectByPrimaryKey(String id);

	TNTicketProduct selectByProdId(String productId);

	int updateByPrimaryKeySelective(TNTicketProduct record);
	
	int updateByProdIdSelective(TNTicketProduct record);

	int updateByPrimaryKey(TNTicketProduct record);
	
	PageInfo<TNTicketProduct> getAllList(ProductConditionVO sc);
	
	List<TNTicketProduct> selectByName(String name);

	List<TNTicketProduct> selectAll();

	List<TNTicketProduct> selectByUrl(String url);
	
	public void updateByProdId(String productId);
	
	public void deleteLinkByProdId(String productId);
	
}
